package org.crystal.jqweb.config;

import java.util.HashMap;
import java.util.Map;

import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;

public class ActionElement {
	private final Log log = LogFactory.getLog(getClass());
	private String name;
	private String action;
	private String method;
	private String actionCls;
	private Map toView;

	public ActionElement() {
		toView = new HashMap();
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getAction() {
		return action;
	}

	public void setAction(String action) {
		this.action = action;
	}

	public String getMethod() {
		return method;
	}

	public void setMethod(String method) {
		this.method = method;
	}

	public String getActionCls() {
		return actionCls;
	}

	public void setActionCls(String actionCls) {
		this.actionCls = actionCls;
	}

	public Map getToView() {
		return toView;
	}

	public void setToView(Map toView) {
		this.toView = toView;
	}
}
